package com.liuxl.wqdc.repository;


import com.liuxl.wqdc.entity.Exam;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExamRepository extends JpaRepository<Exam, Integer>, JpaSpecificationExecutor<Exam> {
    List<Exam> findAll();

    @Override
    Exam getById(Integer integer);
}


